package learn.clazz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 *
 * @author daify
 * @date 2019-08-15
 **/
@Data
public class Parent {
    
    private String name;

    public static String tel = "1";

    public final static String tel_final = "1";
    
    static {
        System.out.println("Parent static");
    }
    
    {
        System.out.println("Parent init");

    }
    
    public Parent() {
        tel = "2";
        System.out.println("Parent Constructor");
    }
    
    public static int getNum() {
        return 1;
    }
}
